package cn.edu.zzuli.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("发送信息条件")
@TableName("web_message")
public class WebMessage {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("给该用户编号用户发送")
    private Integer userNo;

    @ApiModelProperty("信息")
    private String message;

    @ApiModelProperty("时间")
    private String date;

    @ApiModelProperty("是否为广播")
    @TableField(exist = false)
    private Integer radio = 0;

}
